import Layout from '@/layout'
export default {
    path: '/admin',
    component: Layout,
    redirect: 'admin',
    name: '管理',
    meta: { title: '管理', icon: 'example' },
    children: [{
            path: 'case',
            name: 'case',
            component: () =>
                import ('../../views/admin/case'),
            meta: { title: '病案管理', icon: 'table', keepAlive: true }
        },
        {
            path: 'zy_statistic',
            name: 'zy_statistic',
            component: () =>
                import ('../../views/admin/zy_statistic'),
            meta: { title: '消耗日志', icon: 'table', keepAlive: true }
        },

        // {
        //     path: 'drugStorage',
        //     name: 'drugStorage',
        //     component: () =>
        //         import ('../../views/admin/drugStorage'),
        //     meta: { title: '药库管理', icon: 'table', keepAlive: true }
        // },
        {
            path: 'fixedAssets',
            name: 'fixedAssets',
            component: () =>
                import ('../../views/admin/fixedAssets'),
            meta: { title: '固定资产管理', icon: 'table', keepAlive: true }
        },
        {
            path: 'inventory',
            name: 'inventory',
            component: () =>
                import ('../../views/admin/Inventory'),
            meta: { title: '库存物资管理', icon: 'table', keepAlive: true }
        },
        {
            path: 'pharmacy_MZ',
            name: 'pharmacy_MZ',
            component: () =>
                import ('../../views/admin/pharmacy_MZ'),
            meta: { title: '门诊药房', icon: 'table', keepAlive: true }
        },
        {
            path: 'pharmacy_ZY',
            name: 'pharmacy_ZY',
            component: () =>
                import ('../../views/admin/pharmacy_ZY'),
            meta: { title: '住院药房', icon: 'table', keepAlive: true }
        },
        {
            path: 'pharmacy_STOCK',
            name: 'pharmacy_STOCK',
            component: () =>
                import ('../../views/admin/pharmacy_STOCK'),
            meta: { title: '库存', icon: 'table', keepAlive: true }
        },
        {
            path: 'review',
            name: 'review',
            component: () =>
                import ('../../views/admin/review'),
            meta: { title: '回访管理', icon: 'table', keepAlive: true }
        },
        {
            path: 'caseInfo',
            name: 'caseInfo',
            component: () =>
                import ('../../views/admin/caseInfo'),
            meta: { title: '病历管理', icon: 'table', keepAlive: true }
        },
        {
            path: 'caseList',
            name: 'caseList',
            component: () =>
                import ('../../views/admin/caseList'),
            meta: { title: '病历模板', icon: 'table', keepAlive: true }
        },
        {
            path: 'compile',
            name: 'compile',
            component: () =>
                import ('../../views/admin/compile'),
            meta: { title: '病历操作', icon: 'table', keepAlive: true }
        },
        {
            path: 'Federation',
            name: 'Federation',
            component: () =>
                import ('../../views/admin/Federation'),
            meta: { title: '残联救助', icon: 'table', keepAlive: true }
        },
        {
            path: 'caseTemplate',
            name: 'caseTemplate',
            component: () =>
                import ('../../views/admin/caseTemplate'),
            meta: { title: '病例模板', icon: 'table', keepAlive: true }
        }

    ]
}
